package com.haitao.po;
import com.fesine.dao.BasePo;

import java.util.Date;
import java.math.BigDecimal;

public class UserPo extends BasePo {
	private static final long serialVersionUID = 1L;
	//alias
	public static final String TABLE_ALIAS = "User";
	public static final String ALIAS_ID = "id";
	public static final String ALIAS_USERNAME = "用户名";
	public static final String ALIAS_PASSWORD = "密码，加密存储";
	public static final String ALIAS_NICKNAME = "昵称";
	public static final String ALIAS_PHONE = "注册手机号";
	public static final String ALIAS_EMAIL = "注册邮箱";
	public static final String ALIAS_CREATED = "created";
	public static final String ALIAS_UPDATED = "updated";
	

	//columns START
    /**
     * id       db_column: id 
     */ 	
	private Long id;
    /**
     * 用户名       db_column: username 
     */ 	
	private String username;
    /**
     * 密码，加密存储       db_column: password 
     */ 	
	private String password;
    /**
     * 昵称       db_column: nickname 
     */ 	
	private String nickname;
    /**
     * 注册手机号       db_column: phone 
     */ 	
	private String phone;
    /**
     * 注册邮箱       db_column: email 
     */ 	
	private String email;
    /**
     * created       db_column: created 
     */ 	
	private Date created;
    /**
     * updated       db_column: updated 
     */ 	
	private Date updated;
	//columns END

	
	public Long getId() {
		return this.id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}

	
	public String getUsername() {
		return this.username;
	}
	
	public void setUsername(String username) {
		this.username = username;
	}

	
	public String getPassword() {
		return this.password;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}

	
	public String getNickname() {
		return this.nickname;
	}
	
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	
	public String getPhone() {
		return this.phone;
	}
	
	public void setPhone(String phone) {
		this.phone = phone;
	}

	
	public String getEmail() {
		return this.email;
	}
	
	public void setEmail(String email) {
		this.email = email;
	}

	
	public Date getCreated() {
		return this.created;
	}
	
	public void setCreated(Date created) {
		this.created = created;
	}

	
	public Date getUpdated() {
		return this.updated;
	}
	
	public void setUpdated(Date updated) {
		this.updated = updated;
	}


	

}

